#ifndef COMMON_H_INCLUDED
#define COMMON_H_INCLUDED

#include <stdio.h>
#include <string.h>
#include "mtm_ex1.h"

#define ASSERT_ERROR(cond, code) if (!(cond)) {mtm_error(code); return TRUE;}
#define ASSERT_FATAL(cond, code) if (!(cond)) {mtm_error(code); return FALSE;}


typedef enum
{
	TRUE = 1,
	FALSE = 0,
} bool_t;

typedef bool_t success_t;

extern FILE * instream;
extern FILE * outstream;


#endif 
